package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 大转盘奖品抽取记录实体类<br>
 * 对应的表为：mem_pt_turntable_extract_prize<br>
 * 
 * @author pbuilder generated
 * @date 2021-12-21 15:52:36
 * @company sgy
 * @version 2.0
 */
@TableName("mem_pt_turntable_extract_prize")
@ApiModel(description = "大转盘奖品抽取记录")
public class PtTurntableExtractPrizeEntity {

    /** id */
	@ApiModelProperty("id")
	protected String id;

    /** 商圈id */
	@ApiModelProperty("商圈id")
	protected String busdId;

    /** 大转盘ID */
	@ApiModelProperty("大转盘ID")
	protected String turntableId;

    /** 页面标识 */
	@ApiModelProperty("页面标识")
	protected String pageCode;

    /** 奖品ID */
	@ApiModelProperty("奖品ID")
	protected String prizeId;

    /** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

    /** 会员名称 */
	@ApiModelProperty("会员名称")
	protected String memberName;

    /** 消耗积分数量 */
	@ApiModelProperty("消耗积分数量")
	protected Integer consumePoint;

    /** 是否中奖 */
	@ApiModelProperty("是否中奖")
	protected Boolean gainPrize;

    /** 中奖商品ID */
	@ApiModelProperty("中奖商品ID")
	protected String goodsId;

    /** 商品名称 */
	@ApiModelProperty("商品名称")
	protected String goodsName;

    /** 订单ID */
	@ApiModelProperty("订单ID")
	protected String orderId;

    /** 领取状态 */
	@ApiModelProperty("领取状态")
	protected Boolean receiveStatus;

    /** 获取时间/创建时间 */
	@ApiModelProperty("获取时间/创建时间")
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

    /** 删除 0-未删除；1-已删除 */
	@ApiModelProperty("删除 0-未删除；1-已删除")
	protected Boolean del;

    /**  */
	protected LocalDateTime delTime;

    /**  */
	protected String delBy;

	/**
	 * 构造一个空大转盘奖品抽取记录实体对象
	 */
	public PtTurntableExtractPrizeEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个大转盘奖品抽取记录实体对象
	 * 
	 * @param other 其它对象
	 */
	public PtTurntableExtractPrizeEntity(PtTurntableExtractPrizeEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.turntableId = other.turntableId;
     	this.pageCode = other.pageCode;
     	this.prizeId = other.prizeId;
     	this.memberId = other.memberId;
     	this.memberName = other.memberName;
     	this.consumePoint = other.consumePoint;
     	this.gainPrize = other.gainPrize;
     	this.goodsId = other.goodsId;
     	this.goodsName = other.goodsName;
     	this.orderId = other.orderId;
     	this.receiveStatus = other.receiveStatus;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
     	this.del = other.del;
     	this.delTime = other.delTime;
     	this.delBy = other.delBy;
	}


	/**
	 * 获取id
	 * 
	 * @return id id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置id
	 * 
	 * @param id id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈id
	 * 
	 * @return busdId 商圈id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取大转盘ID
	 * 
	 * @return turntableId 大转盘ID
	 */
	public String getTurntableId() {
		return turntableId;
	}
  	
	/**
	 * 设置大转盘ID
	 * 
	 * @param turntableId 大转盘ID
	 */
	public void setTurntableId(String turntableId) {
		this.turntableId = turntableId;
	}

	/**
	 * 获取页面标识
	 * 
	 * @return pageCode 页面标识
	 */
	public String getPageCode() {
		return pageCode;
	}
  	
	/**
	 * 设置页面标识
	 * 
	 * @param pageCode 页面标识
	 */
	public void setPageCode(String pageCode) {
		this.pageCode = pageCode;
	}

	/**
	 * 获取奖品ID
	 * 
	 * @return prizeId 奖品ID
	 */
	public String getPrizeId() {
		return prizeId;
	}
  	
	/**
	 * 设置奖品ID
	 * 
	 * @param prizeId 奖品ID
	 */
	public void setPrizeId(String prizeId) {
		this.prizeId = prizeId;
	}

	/**
	 * 获取会员ID
	 * 
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取会员名称
	 * 
	 * @return memberName 会员名称
	 */
	public String getMemberName() {
		return memberName;
	}
  	
	/**
	 * 设置会员名称
	 * 
	 * @param memberName 会员名称
	 */
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	/**
	 * 获取消耗积分数量
	 * 
	 * @return consumePoint 消耗积分数量
	 */
	public Integer getConsumePoint() {
		return consumePoint;
	}
  	
	/**
	 * 设置消耗积分数量
	 * 
	 * @param consumePoint 消耗积分数量
	 */
	public void setConsumePoint(Integer consumePoint) {
		this.consumePoint = consumePoint;
	}

	/**
	 * 获取是否中奖
	 * 
	 * @return gainPrize 是否中奖
	 */
	public Boolean getGainPrize() {
		return gainPrize;
	}
  	
	/**
	 * 设置是否中奖
	 * 
	 * @param gainPrize 是否中奖
	 */
	public void setGainPrize(Boolean gainPrize) {
		this.gainPrize = gainPrize;
	}

	/**
	 * 获取中奖商品ID
	 * 
	 * @return goodsId 中奖商品ID
	 */
	public String getGoodsId() {
		return goodsId;
	}
  	
	/**
	 * 设置中奖商品ID
	 * 
	 * @param goodsId 中奖商品ID
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * 获取商品名称
	 * 
	 * @return goodsName 商品名称
	 */
	public String getGoodsName() {
		return goodsName;
	}
  	
	/**
	 * 设置商品名称
	 * 
	 * @param goodsName 商品名称
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/**
	 * 获取订单ID
	 * 
	 * @return orderId 订单ID
	 */
	public String getOrderId() {
		return orderId;
	}
  	
	/**
	 * 设置订单ID
	 * 
	 * @param orderId 订单ID
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	/**
	 * 获取领取状态
	 * 
	 * @return receiveStatus 领取状态
	 */
	public Boolean getReceiveStatus() {
		return receiveStatus;
	}
  	
	/**
	 * 设置领取状态
	 * 
	 * @param receiveStatus 领取状态
	 */
	public void setReceiveStatus(Boolean receiveStatus) {
		this.receiveStatus = receiveStatus;
	}

	/**
	 * 获取获取时间/创建时间
	 * 
	 * @return createdTime 获取时间/创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置获取时间/创建时间
	 * 
	 * @param createdTime 获取时间/创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取删除 0-未删除；1-已删除
	 * 
	 * @return del 删除 0-未删除；1-已删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置删除 0-未删除；1-已删除
	 * 
	 * @param del 删除 0-未删除；1-已删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

    public String toString() {
		return new StringBuilder().append("PtTurntableExtractPrizeEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",turntableId=").append(turntableId).
			append(",pageCode=").append(pageCode).
			append(",prizeId=").append(prizeId).
			append(",memberId=").append(memberId).
			append(",memberName=").append(memberName).
			append(",consumePoint=").append(consumePoint).
			append(",gainPrize=").append(gainPrize).
			append(",goodsId=").append(goodsId).
			append(",goodsName=").append(goodsName).
			append(",orderId=").append(orderId).
			append(",receiveStatus=").append(receiveStatus).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append(",del=").append(del).
			append(",delTime=").append(delTime).
			append(",delBy=").append(delBy).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public PtTurntableExtractPrizeEntity copy() {
		return new PtTurntableExtractPrizeEntity(this);
	}

    /** id */
	public static final String COL_ID = "id";

    /** 商圈id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 大转盘ID */
	public static final String COL_TURNTABLE_ID = "turntable_id";

    /** 页面标识 */
	public static final String COL_PAGE_CODE = "page_code";

    /** 奖品ID */
	public static final String COL_PRIZE_ID = "prize_id";

    /** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 会员名称 */
	public static final String COL_MEMBER_NAME = "member_name";

    /** 消耗积分数量 */
	public static final String COL_CONSUME_POINT = "consume_point";

    /** 是否中奖 */
	public static final String COL_GAIN_PRIZE = "gain_prize";

    /** 中奖商品ID */
	public static final String COL_GOODS_ID = "goods_id";

    /** 商品名称 */
	public static final String COL_GOODS_NAME = "goods_name";

    /** 订单ID */
	public static final String COL_ORDER_ID = "order_id";

    /** 领取状态 */
	public static final String COL_RECEIVE_STATUS = "receive_status";

    /** 获取时间/创建时间 */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /** 删除 0-未删除；1-已删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_TIME = "del_time";

    /**  */
	public static final String COL_DEL_BY = "del_by";
}
